<marquee   direction="left"   scrollamount="3" onmouseover="this.stop()" onmouseout="this.start()" style="height: 100%" >
    <ul>
    <?
    if($top_news){
        foreach($top_news as $itemnews){?>
        <li style="text-transform: lowercase;">
            <a href="<?=$curHost.utf8_to_ascii($newscatali[$itemnews['parent_id']]!=''?$newscatali[$itemnews['parent_id']]:$newscatname[$itemnews['parent_id']])?>/<?=utf8_to_ascii($itemnews['seo_key']!=''?$itemnews['seo_key']:$itemnews['name'])?>/3/<?=$itemnews['id']?>.html" title="<?=  str_replace('"', '\'', $itemnews['name'])?>">
                <?=$itemnews['name']?>
            </a>
        </li>
        <?
        }
    }?>
    </ul>
</marquee>